package com.mszlu.msauth.admin.controller;

import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class MenuService {
    public List<RouteVO> listRoutes() {
        List<RouteVO> routeVOList = new ArrayList<>();
        RouteVO routeVO = new RouteVO();
        routeVO.setPath("/organization");
        routeVO.setComponent("Layout");
        routeVO.setRedirect("/organization");
        RouteVO child = new RouteVO();
        routeVO.setChildren(List.of(child));
        routeVOList.add(routeVO);
        return routeVOList;
    }
}